package com.zzyang.aop.demo.interceptor.anno;


import com.zzyang.aop.demo.interceptor.Interceptor;

import java.lang.annotation.*;

/**
 * 自定义拦截器注解
 *
 * @author zhuoziyang
 * @date 2021/5/16 22:33
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AopInterceptor {

    Class<? extends Interceptor> interceptor() default Interceptor.class;

}
